package com.ym.b2b.payment.controller.fmcib;

import com.ym.b2b.payment.vo.PaymentBean;

import java.util.Date;
import java.util.List;

/**
 * 订单导入
 * Created by Administrator on 2015/7/27.
 */
public class OrderInFmcibParam extends PaymentBean {
    private String url;                 //订单请求地址

    private String custId;              //企业编码，支付平台提供

    private String orderNo;             //订单编号

    private String contractNo;          //合同号

    private String receivableNo;        //应收账款号

    private String buyerName;           //买方客户名称

    private Integer buyerLevel;         //买方客户等级

    private Double amount;               //订单金额

    private Double receivableAmount;    //应收账款金额

    private String factory;             //生产厂家

    private String orderDate;              //订单日期

    private String receivableDueDate;     //应收账款到期日

    private String payDate;               //约定支付日志，没有值可以默认为应收账款到期日。


    private String signature;           //签名，把订单主体信息按照算法加密出来的MD5字符串值

    private String goods;               //订单商品列表，内容为ｊｓｏｎ格式


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCustId() {
        return custId;
    }

    public void setCustId(String custId) {
        this.custId = custId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getReceivableNo() {
        return receivableNo;
    }

    public void setReceivableNo(String receivableNo) {
        this.receivableNo = receivableNo;
    }

    public String getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName;
    }

    public Integer getBuyerLevel() {
        return buyerLevel;
    }

    public void setBuyerLevel(Integer buyerLevel) {
        this.buyerLevel = buyerLevel;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Double getReceivableAmount() {
        return receivableAmount;
    }

    public void setReceivableAmount(Double receivableAmount) {
        this.receivableAmount = receivableAmount;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public String getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(String orderDate) {
        this.orderDate = orderDate;
    }

    public String getReceivableDueDate() {
        return receivableDueDate;
    }

    public void setReceivableDueDate(String receivableDueDate) {
        this.receivableDueDate = receivableDueDate;
    }

    public String getPayDate() {
        return payDate;
    }

    public void setPayDate(String payDate) {
        this.payDate = payDate;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getGoods() {
        return goods;
    }

    public void setGoods(String goods) {
        this.goods = goods;
    }

    @Override
    public String toString() {
        return "OrderInFmcibParam{" +
                "url='" + url + '\'' +
                ", custId='" + custId + '\'' +
                ", orderNo='" + orderNo + '\'' +
                ", contractNo='" + contractNo + '\'' +
                ", receivableNo='" + receivableNo + '\'' +
                ", buyerName='" + buyerName + '\'' +
                ", buyerLevel=" + buyerLevel +
                ", amount=" + amount +
                ", receivableAmount=" + receivableAmount +
                ", factory='" + factory + '\'' +
                ", orderDate='" + orderDate + '\'' +
                ", receivableDueDate='" + receivableDueDate + '\'' +
                ", payDate='" + payDate + '\'' +
                ", signature='" + signature + '\'' +
                ", goods='" + goods + '\'' +
                '}';
    }
}
